package org.blogwu.hyf.sso.main.control;

import javax.servlet.http.HttpServletRequest;

import org.blogwu.sso.bean.pojo.user.Register;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import org.springframework.web.bind.annotation.RestController;

@RestController(value="/userRegister")
public class RegistereControl extends BasisContorl{

	
	
	
	@RequestMapping(value = "/regist" ,method = RequestMethod.POST)
	public String userRegister(HttpServletRequest request,Register register) {
		ServiceInstance instance = client.getLocalServiceInstance();
		

		//logger.info("/add, host:" + instance.getHost() + ", service_id:" + instance.getServiceId() + ", result:" + r);
		return null;
	}
	
}
